Rules Dialog box Example

Consider a location, Loc1, which has a "Last In, First Out (LIFO)" as the queuing for output rule. Suppose that two other locations, Loc2 and Loc3, have "No Queuing" for the output rule. The three locations, Loc1, Loc2, and Loc3 feed into Loc4 which has an "Oldest by Priority" rule for selecting incoming entities.

 

Two parts are queued for output at Loc1. The part waiting the longest, EntA, at Loc1 has been waiting 10 minutes. The other part, EntB, which queued for output after EntA, has been waiting 5 minutes. At Loc2, the part queued for output, EntC, has been waiting 7 minutes. At Loc3, the part queued for output that has been waiting the longest, EntD, has waited 3 minutes.

The part to enter Loc4 first is EntC at Loc2 which waited 7 minutes. Even though EntA has been waiting ten minutes, it must wait until EntB has been routed, because EntB is ahead of it in the output queue according to the LIFO queuing rule. Once Loc4 finishes processing EntC, EntB at Loc1 enters Loc4. EntB enters before EntA because entities must be output before a destination selects incoming entities. Next, EntA at Loc1 enters Loc4 after which EntD at Loc3 enters Loc4.